package com.zhanyf.heilan.cg.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import com.zhanyf.heilan.cg.domain.User;

@Component
public interface UserMapper {

	@Select(value = "select username, password from tb_user where username=#{username}")
	public User getUser(@Param(value = "username") String username);
}
